/* 全局样式 */
body, html {
    height: 100%;
    margin: 0;
    font-family: YouYuan;
    font-weight: 1000;
    background-image: url('../picture/bcszbj.jpg'); /* 替换为你的图片路径 */
    background-color: rgb(9, 5, 8); /* 背景颜色作为回退选项 */
    background-size: cover; /* 使背景图片覆盖整个元素 */
    background-position: center; /* 将背景图片放置在元素中心 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
    background-attachment: fixed; /* 滚动时背景图片固定 */
}

/* 登录容器样式 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 500px;
}

/* 登录表单样式 */
.login-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

/* 输入框和标签样式 */
.group {
    margin-bottom: 20px;
    position: relative;
}

.label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #999;
    transition: all 0.2s ease;
}

.input {
    width: 100%;
    padding: 10px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.input:focus + .label,
.input:not(:placeholder-shown) + .label {
    top: -15px;
    color: #333;
}

/* 提交按钮样式 */
.submit-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #5b9dd9;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #4a8fc1;
}

/* 注册链接样式 */
.register-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.register-link:hover {
    color: #5b9dd9;
    text-decoration: underline;
}